// import myaxios from '../utils/myaxios'
import myaxios from '@/utils/myaxios'
/* myaxios.get('data.json')
.then(resp=>{
    console.log(resp.data)
})
.catch(err=>{
    console.log("请求失败")
}) */
// const BASE_URL='/dev-apis'
const BASE_URL=[process.env.VUE_APP_BASE_API]
export default {
    getList(){
        const promise1=myaxios({
            method:'get',
            url:'/data.json',   //http://localhost:8080/data.json
        })
        return promise1
    }
}

// promise.then().catch(err=>{})
